package org.linlinjava.litemall.db.dao;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LitemallUserEr;
import org.linlinjava.litemall.db.domain.LitemallUserGoods;

import java.util.List;

public interface LitemallUserGoodsMapper {

    int addUserGoods(LitemallUserGoods LitemallUserGoods);

    LitemallUserGoods queryUserGoods(@Param("username") String username);

    int updateUserGoods(int goodsId);

    List<LitemallUserGoods> queryAll();

    LitemallUserGoods queryUsername(@Param("username") String username);

    int updateDeleteId(@Param("id") int id,@Param("deleteId") int deleteId);

    int deleteById(@Param("id") int id);

}
